package com.woniu.after.feign;


import com.woniu.common.dto.OrderDetailDto;
import com.woniu.common.dto.PageDetailDto;
import com.woniu.common.util.PageParam;
import com.woniu.common.util.ResponseData;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

@FeignClient(name = "staff-order-server")
public interface OrderFeignListener {
    @GetMapping("/queryOrderDetailById")
    public OrderDetailDto queryOrderDetailById(@RequestParam("id") Long id);
    @RequestMapping("/alipay/refund")
    public ResponseData<?> refund(@RequestParam("orderNum") String orderNum);
}
